Meaning of the word "opportunity makes a thief" in English

What does "opportunity makes a thief" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

opportunity makes a thief

US /ˌɑː.pɚˈtuː.nə.t̬i meɪks ə θiːf/
UK /ˌɒp.əˈtjuː.nə.ti meɪks ə θiːf/
"opportunity makes a thief" picture

Idiom

even an honest person may steal if they are given an easy chance to do so without being caught

Example:
Don't leave your wallet on the table; remember that opportunity makes a thief.
Locking the doors is important because opportunity makes a thief.